package com.hulk.dryad.activiti7.api.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.hulk.dryad.activiti7.api.BaseVO;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author hulk
 */
@ApiModel
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class ActTaskVO  extends BaseVO {

	private static final long serialVersionUID = 1L;

	private String id;

	private String name;

	private String status;
	private String assigneeCandiateType;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createdDate;
	private String instanceName;
	private String definitionKey;
	private String businessKey;

	/**
	 * 搜索值
	 */
	private String searchValue;

	/**
	 * 创建者
	 */
	private String createdBy;

	/**
	 * 创建时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createdTime;

	/**
	 * 更新者
	 */
	private String updatedBy;

	/**
	 * 更新时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date updatedTime;

	/**
	 * 备注
	 */
	private String remark;

	/**
	 * 开始时间
	 */
	@JsonIgnore
	private String beginTime;

	/**
	 * 结束时间
	 */
	@JsonIgnore
	private String endTime;

}
